package org.ns.summer.classpath.classreader;

import org.ns.summer.classpath.classreader.entity.ClassInfo;

public class Test {
    // 测试一下
    public static void main(String[] args) {
        //
        ClassFile classFile = ClassReader.read("/Users/zhangxingyu/ws/lmaor/remote-control/remote-control-core/target/test-classes/org/test/ImgTest.class");
        // 获取 ClassInfo
        ClassInfo classInfo = ClassReader.getClassInfoByClassFile(classFile);
        
        System.out.println(classInfo.toString().replace(",", "\n"));
    }

}
